// 字典
export const DicEnum = {
	sjlx: "sjlx", // 事件类型
	level: "responsibilities_handle", // 事件等级
}

// 大类小类
export const ClassTypeEnum = {
	all: "a",
	big: "b",
	small: "c"
}

// export const EventStatusMap = {
// 	processing: "processing",
// 	completed: "completed",
// 	processingDesc: "处理中",
// 	completedDesc: "已办结",
// 	processingVal: 0,
// 	completedVal: 1
// }

// export const EventStatusEnum = {
// 	[EventStatusMap.processing]: 0,
// 	[EventStatusMap.completed]: 1,
// 	0: [EventStatusMap.processingDesc],
// 	1: [EventStatusMap.completedDesc],
// 	[EventStatusMap.processingDesc]: 0,
// 	[EventStatusMap.completedDesc]: 1,
// }

// (0：驳回，1：处理中、2：办结、3评价)/
export const EventStatusMap = {
	back: "back",
	processing: "processing",
	completed: "completed",
	rate: "rate",
	backDesc: "驳回",
	processingDesc: "处理中",
	completedDesc: "已办结",
	rateDesc: "评价",
	backVal: 0,
	processingVal: 1,
	completedVal: 2,
	rateVal: 3
}

export const EventStatusEnum = {
	[EventStatusMap.back]: EventStatusMap.backVal,
	[EventStatusMap.completed]: EventStatusMap.completedVal,
	[EventStatusMap.processing]: EventStatusMap.processingVal,
	[EventStatusMap.rate]: EventStatusMap.rateVal,
	[EventStatusMap.backVal]: [EventStatusMap.backDesc],
	[EventStatusMap.completedVal]: [EventStatusMap.completedDesc],
	[EventStatusMap.processingVal]: [EventStatusMap.processingDesc],
	[EventStatusMap.rateVal]: [EventStatusMap.rateDesc],
	[EventStatusMap.backDesc]: EventStatusMap.backVal,
	[EventStatusMap.completedDesc]: EventStatusMap.completedVal,
	[EventStatusMap.processingDesc]: EventStatusMap.processingVal,
	[EventStatusMap.rateDesc]: EventStatusMap.rateVal,
}

export const WatchMap = {
	has: "has", // 督办
	no: "no", // 未督办
	hasDesc: "督办",
	noDesc: "未督办",
	hasVal: "1",
	noVal: "2",
}
// 督办
export const WatchEnum = {
	[WatchMap.has]: "1",
	[WatchMap.no]: "2",
	"1": WatchMap.hasDesc,
	"2": WatchMap.noDesc,
	[WatchMap.hasDesc]: "1",
	[WatchMap.noDesc]: "2",
}